<template>
  <div id="app">
    <tab></tab>
    <router-view/>
  </div>
</template>
<script>
import tab from "@/components/tab";
export default {
  components:{
    tab
  },
  watch: {
    $route: function(to, from) {
      document.body.scrollTop = 0;
      document.documentElement.scrollTop = 0;
    }
  }
}
</script>
<style lang="scss">
*{
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;

}
html,body{
  height: 100%;
}
ul{
  list-style: none;
}
//FilmHeader中的选中样式
.inb{
  color: red;
  border-bottom: 1px solid red;
}
</style>
